const filterOption = {
  batchNo: '',
  customCoding: '',
};
const searchFromData = {
  batchNumber: undefined,
  customCoding: undefined,
}
const filterOption2 = {
  items: [{
      label: "销售分类",
      type: "dropdown",
      data: undefined,
      placeholder: "请选择",
      value: undefined,
      key: "salesType",
      required: true,
    },
    {
      label: "系列",
      type: "dropdown",
      data: undefined,
      placeholder: "请选择",
      value: undefined,
      key: "aSeriesOf",
      required: true,
    },
    {
      label: "款式名称",
      type: "dropdown",
      data: undefined,
      placeholder: "请选择",
      value: undefined,
      key: "styleId",
      required: true,

    },

  ],

};
const searchFromData2 = {
  salesType: undefined,
  aSeriesOf: undefined,
  styleId: undefined,
};
const filterOption3 = {
  /* 
    手寸范围  saleStyleHandRanges
    钻重范围  saleStyleInlaiedScoopRanges
  */
  items: [{
      label: "主石形状",
      type: "dropdown",
      data: undefined,
      placeholder: "请选择",
      value: undefined,
      key: "theMainStoneShape",
      disabled: true,
    },
    {
      label: "主石材质",
      type: "dropdown",
      data: undefined,
      placeholder: "请选择",
      value: undefined,
      key: "mainStone1Material",
      disabled: true,
    },
    {
      label: "主石外观",
      type: "dropdown",
      data: undefined,
      placeholder: "请选择",
      value: undefined,
      key: "theMainStoneAppearance",
      disabled: true,
    },
    {
      label: "材质",
      type: "dropdown",
      data: undefined,
      placeholder: "请选择",
      value: undefined,
      key: "bracketMaterial",
      required: true,
    },
    {
      label: "手寸",
      type: "dropdown",
      data: undefined,
      placeholder: "请选择",
      value: undefined,
      key: "handInch",
      required: true,
    },
    {
      label: "净度",
      type: "dropdown",
      data: undefined,
      placeholder: "请选择",
      value: undefined,
      key: "cleanliness"
    },
    {
      label: "对称",
      type: "dropdown",
      data: undefined,
      placeholder: "请选择",
      value: undefined,
      key: "symmetric"
    },
    {
      label: "抛光",
      type: "dropdown",
      data: undefined,
      placeholder: "请选择",
      value: undefined,
      key: "polishing"
    },
    {
      label: "链长",
      type: "dropdown",
      data: undefined,
      placeholder: "请选择",
      value: undefined,
      key: "startChainLength"
    },
    {
      label: "颜色",
      type: "dropdown",
      data: undefined,
      placeholder: "请选择",
      value: undefined,
      key: "color"
    },
    {
      label: "切工",
      type: "dropdown",
      data: undefined,
      placeholder: "请选择",
      value: undefined,
      key: "cut"
    },
  ],
  btnGroup: [{
      label: '查询',
      type: 'search'
    },
    {
      label: '清空',
      type: 'clear'
    }
  ]
};
const searchFromData3 = {
  origin: undefined,
  origin2: undefined,
  origin3: undefined,
};
const pager = {
  params: {
    pageIndex: 1,
    pageSize: 10,
  },
  pageTotal: 0,
  pageSizeArr: [10, 20, 30, 40]
};
const path = ['销售管理', {
  label: '售中订单列表',
  name: 'inSale'
}, '发起售中变更单'];
const tableFormInline = [{
    label: '订单编号',
    value: '',
  },
  {
    label: '原sap销售订单号',
    value: '',
  },
  {
    label: '下单人',
    value: ''
  },
  {
    label: '配送类型',
    value: ''
  },
  {
    label: '发货平台',
    value: ''
  },
  {
    label: '销售来源',
    value: ''
  },
  {
    label: '销售员',
    value: ''
  }
];
const refundStep = {
  activeStep: 1,
  step: [{
      title: '提交申请',
      description: '2017-10-01 12:00'
    },
    {
      title: '售中单审核',
      description: '2017-10-02 12:00'
    },
    {
      title: '待用户支付',
      description: ''
    },
    {
      title: '售中变更成功',
      description: ''
    },
  ]
};
const sliderSelect = {
	weight:{
		value:0,
		option:[],
		sliderVal:[0,0],
	},
}
const editUserDialogOption = undefined;
const editUserDialogData = [{
    label: '开户银行：',
    value: undefined,
  },
  {
    label: '收款人姓名：',
    value: undefined,
  },
  {
    label: '银行卡卡号：',
    value: undefined,
  },
];
const editDialogFormData = {
  shippingMethod: '0', //配送方式(0:快递,1:自提；)
  shipper: undefined,
  originChannel: undefined,
  salesman: undefined,
  recipientName: undefined,
  recipientPhone: undefined,
  messagePhone: undefined,
  addressType: undefined,
  location: undefined,
  detailedAddress: undefined,
};
let Model = {
  data() {
    return {
      Model: {
        queryData: undefined,
        path: path,
        pager: pager,
        filterOption,
        filterOption2,
        defaultFilterOption2: filterOption2,
        searchFromData,
        searchFromData2,
        searchFromData2,
        saleOrderGiftsList: [],
        saleReceivingGoods: [],
        saleOrderPayList: [],
        shouldLettering: false,
        isHighClass: false,
        isLog: false,
        searchFromData3,
        saleLogList: [],
        sliderSelect,
        filterOption3,
        editDialogFormData,
        defaultEditDialogFormData: editDialogFormData,
        addressList: [],
        refundList: [],
        tableData: [],
        deliveryRadio: 0,
        deliveryDatePick: '',
        activeTab: 1,
        detailDialogFlag: false,
        tableFormInline,
        refundStep,
        editUserDialogFlag: false,
        editUserDialogData,
        editUserDialogOption,
        dialogTableData: [],
        barCodeTable: [],
        dialogTableSelect: undefined,
        idCard: undefined,
        barCodeRadio: '1',
        returnTable: [],
        changeGoodsDialogFlag: false,
        editDialogFlag: false,
        letteringContent: '',
        detailTableFrom: {
          src: require('@/assets/img/icon_collapse.png'),
          flag: true
        },
        tab1TableDetail1: {
          src: require('@/assets/img/icon_collapse.png'),
          flag: true
        },
        tab1TableDetail2: {
          src: require('@/assets/img/icon_collapse.png'),
          flag: true
        },
      }
    }
  }
}
export default Model;
